package indi.caibo.service_edu.controller.front.clinet.impl;

import indi.caibo.commonutils.R;
import indi.caibo.service_edu.controller.front.clinet.VodClient;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Bo Cai
 * @version 1.0
 * @date 2021/10/17 13:08
 */
@Component
public class VodFileDegradeFeignClient implements VodClient {
    @Override
    public R removeVideo(String videoId) {
        return R.error().message("熔断器：time out");
    }

    @Override
    public R removeVideoList(List<String> videoIdList) {
        return R.error().message("熔断器：time out");
    }
}
